﻿using Microsoft.AspNetCore.Mvc;
using Newtonsoft.Json.Linq;
using System.Security.Cryptography.X509Certificates;
using VM.Entity.EntityMap.MsgCode;
using VM.Entity.EntityMap.Token;
using VM.Entity.EntityMap.User;

namespace VM.IBLL.Msg
{
    public interface IMsgBLL : IBaseBLL
    {   
        /// <summary>
        /// 插入数据库
        /// </summary>
        /// <param name="code"></param>
        /// <returns></returns>
        public int  AddMsg(sys_message code);

        public bool CheckMsgIsValid(string Phone,string Code);

    }
}